package com.spzx.order.domain.vo;

import com.spzx.order.domain.OrderItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(description = "订单结算页数据")
public class OrderTradeVO {
    @Schema(description = "订单总金额")
    private BigDecimal totalAmount;
    @Schema(description = "订单项列表：由购物车选中的购物项转换的")
    private List<OrderItem> orderItemList;
    @Schema(description = "订单号: 提交订单幂等性使用")
    private String tradeNo;
}
